<?php
/**
 * Created By PhpStorm
 * Author: patrick wu
 * Date: 2020/10/28
 * Time: 17:13
 */
namespace App\Http\Model\MongoDB;

use Jenssegers\Mongodb\Eloquent\Model;

class LiveList extends Model
{
    /**
     * status 0 预约中  1 直播中  2 暂停中  3 已结束  99 禁推
     */

    //pub_status
    const NORMAL_PUB    =   0,      //公开状态  正常
        HIDE_PUB        =   1,      //不公开
        OFFLINE_PUB     =   3;      //下架

    protected $connection   =   'mongodb';

    protected $collection   =   'live';

    protected $guarded      =   [];

    public $timestamps      =   false;
}
